package com.jicheng.dto.data.task;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: TaskInfo
 * @Description: TODO
 * @author: khz
 * @date: 2020年09月04日 9:44
 */
@Data
public class TaskInfo implements Serializable {
    //终端id
    private String appId;
    //终端用户
    private String appUser;
    //任务id
    private String TaskId;
    //任务名称
    private String missionName;
    //任务类型
    private int missionType;
    //监督工作
    private String supervisionWork;
    //所属业务
    private String business;
    //创建时间
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private Date createTime;
    //执行人
    private String executor;
    //任务状态
    private int missionStatus;
    //任务对应的模板
    private List<Template> templateBeans;
    //附件文件的路径
    private List<String> attachments;
    //完成时间
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private Date finishedTime;
}
